//@target: ES6
var x: {
    [Symbol.toPrimitive]: string
}